/*
 * Skill.h
 *
 *  Created on: Jan 12, 2009
 *      Author: sez
 */

#ifndef SKILL_H_
#define SKILL_H_

#include "TitledData.h"
#include "DndData.h"

#include <QString>

class Skill: public TitledData
{
public:
	Skill(const QString &title = QString());
	Skill(const Skill &rhs);
	virtual ~Skill();
	Skill &operator=(const Skill &rhs);
        QString description() const { return summary; }
	void saveToXml() const;
	void loadFromXml();

        DndData::Ability keyAbility;
        QString summary;
        bool armourCheckApplies;
};

#endif /* SKILL_H_ */
